package com.iraeta.entity.basic;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 海康的摄像头表
 * </p>
 *
 * @author chenbin
 * @since 2024-01-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hik_camera")
public class HikCamera implements Serializable {

    private static final long serialVersionUID = 1L;

    public HikCamera() {
    }

    public HikCamera(String name, String indexcode, String regionindexcode, String regionname, Integer sort) {
        this.name = name;
        this.indexcode = indexcode;
        this.regionindexcode = regionindexcode;
        this.regionname = regionname;
        this.sort = sort;
    }

    /**
     * Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 区域名称
     */
    private String name;

    /**
     * 编码
     */
    private String indexcode;

    /**
     * 区域编码
     */
    private String regionindexcode;

    /**
     * 区域编码
     */
    private String regionname;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 接入协议
     */
    private String treatytype;
    /**
     * 传输协议
     */
    private String transtype;
}
